//
//  WYHttpServer+WYRedPacket.h
//  Boss
//
//  Created by admin on 2018/6/11.
//  Copyright © 2018年 admin. All rights reserved.
//

#import "WYHttpServer.h"

@interface WYHttpServer (WYRedPacket)
+(void)getRedPacketCountSucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

+(void)sendRedPacketWithImages:(NSArray *)images WithContent:(NSString *)content WithOutLink:(NSString *)outLink WithMoney:(NSString *)money WithNumber:(NSString *)number WithType:(NSNumber *)type WithScope:(NSNumber *)scope WithAccurateType:(NSNumber *)accurateType WithCoordinate:(NSString *)coordinate WithProvince:(NSString *)province WithCity:(NSString *)city WithCountry:(NSString *)county WithAddress:(NSString *)address WithPayType:(NSString *)payType WithHideLoc:(NSNumber *)hideLoc WithVipLevel:(NSString *)vipLevel SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

+(void)getNearRedPacketWithCoordinate:(NSString *)coordinate WithProvince:(NSString *)province WithCity:(NSString *)city WithCountry:(NSString *)country SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;


+(void)receiveRedPacketWithCoordinate:(NSString *)coordinate WithRedpacketId:(NSString *)redpacketId WithRedpacketType:(NSString *)redpacketType SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

/**
 *获取红心信息详情
 */

+(void)getRedPacketInfoWithRedpacketId:(NSString *)redpacketId WithRedpacketType:(NSString *)redpacketType SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

/**
 *获取红包评论列表
 */
+(void)getRedPacketCommentList:(NSString *)messageId WithCurrentPage:(NSString *)currentPage WithRedpacketType:(NSString *)redpacketType SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

/**
 * 添加评论
 */
+(void)sendRedPacketCommentWithMessageID:(NSString *)messageId WithContent:(NSString *)content WithRedpacketType:(NSString *)redpacketType SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;
/**
 *评论回复
 */
+(void)addRedPacketCommentReplayWithMessageId:(NSString *)messageId WithCommentId:(NSString *)commentId WithToReplayId:(NSString *)toReplyId WithContent:(NSString *)content WithToUserId:(NSString *)toUserId WithToUserName:(NSString *)toUserName WithRedPacketType:(NSString *)redpacketType SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;
/**
 *获取单个红包回复接口
 */
+(void)getCommentInfoWithCommentId:(NSString *)commentId WithRedpacketType:(NSString *)redpacketType SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;
/**
 * 删除红包回复评论接口
 */
+(void)deleteCommnetReplyWithReplyId:(NSString *)replyId WithRedpacketType:(NSString *)redpacketType SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;


/**
 * 回复列表
 */
+(void)getCommentReplyList:(NSString *)currentPage WithCommentID:(NSString *)commentId WithRedPacketType:(NSString *)redPacketType SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

+(void)DeleteRedPacketCommentWithCommentId:(NSString *)commentId WithRedpacketType:(NSString *)redpacketType SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

+(void)getRedPacketReceiveListWithRedpacketId:(NSString *)redpacketId WithCurrentPage:(NSString *)currentPage WithRedpacketType:(NSString *)redpacketType SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

/**
 * 我领取的红包接口
 */

+(void)getRedPacketMyReceiveWithYear:(NSString *)year SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

/**
 * 我领取的红包记录接口
 */
+(void)getRedPacketMyReceiveRecordWithYear:(NSString * )year WithCurrentPage:(NSString *)currentPage SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

/**
 * 我发出的红包接口
 */
+(void)getRedPacketMySendWithYear:(NSString *)year SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;
/**
 * 我发出的红包记录接口
 */
+(void)getRedPacketMySendRecordWithYear:(NSString *)year WithCurrentPage:(NSString *)currentPage SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;
/**
 *专属红包信息
 */
+(void)getExclusivePacketSucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

/**
 *查询推荐红包
 */
+(void)getSharePacketListSucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;
/**
 *领取推荐红包
 */
+(void)receiveSharePacketWithPacketId:(NSString *)packetId SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;


@end
